import codeanticode.vision.*;

CameraGrabber cam;

void setup() {
  size(640, 480);
  smooth();
  
  cam = new CameraGrabber(this, 0);
  cam.start();
}

void draw() {
  background(0);
  fill(255);
  if (cam.read()) {
    image(cam, 0, 0, width, height);
  }
}
